package com.chaodev.base.service;

import com.github.pagehelper.PageInfo;
import com.chaodev.base.model.FileInfo;
import com.chaodev.base.model.Student;

import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;

/**
 * @author lccccc
 */
public interface UploadDownloadService {
    boolean upload(List<Student> fileResultListList);

    CompletableFuture<Integer> uploadThread(List<Student> fileResultListList);

    List<Student> findAll(String uuid);

    List<Student> findByIdTemp(String uuid);

    boolean insetInfo(FileInfo fileInfo);

    boolean insertData(String id);

    PageInfo<FileInfo> getAllFileInfo(Map<String, Object> map);

    PageInfo<Student> findById(Map<String, Object> map);

    int getNnm(String uuid);
}
